home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1998 July / EnigmA AMIGA RUN 29 (1998)(G.R. Edizioni)(IT)[!][issue 1998-07 & 08].iso / earcd / utils / madhouse / developer / c / include / libraries / madblankersupport.h
C/C++ Source or Header  |  1997-12-21  |  983b  |  36 lines

  1. #ifndef LIBRARIES_MADBLANKERSUPPORT_H
  2. #define    LIBRARIES_MADBLANKERSUPPORT_H
  3.  
  4. /* PUBLIC: */
  5.  
  6. /* (tabsize = 3) */
  7.  
  8. #define MADBLANKERSUPPORT_NAME "madblankersupport.library"
  9. #define MADBLANKERSUPPORT_VMIN 27
  10. /* Be sure to open MADBLANKERSUPPORT_VMIN of the library. */
  11.  
  12. /* Returned by MBS_GetBlankjob() */
  13. struct mbs_blankjob {
  14.     char *directory;                    /* the blanker's subdirectory              */
  15.     LONG duration;                        /* duration time in seconds, 0 means: */
  16.                                             /* "exchange blankers" is turned off. */
  17.     char *language;                    /* used locale language                      */
  18. };
  19.  
  20. /* Returned by MBS_ContinueBlanking() */
  21. #define MBSCB_CONTINUE            0
  22. #define MBSCB_TIMEOUT            1    /* Duration time exceeded. */
  23. #define MBSCB_USERABORT            2  /* User aborted blanker.   */
  24.  
  25. struct mbs_color {
  26.     LONG r,g,b;                   /* always 8bit values, 0...255 */
  27. };
  28.  
  29. #ifdef SERVER_COMPILE
  30. extern Library *madblankersupportbase = NULL;
  31. extern mbs_madenvironment madenv;
  32. #endif
  33.  
  34. #endif /* LIBRARIES_MADBLANKERSUPPORT_H */
  35.  
  36.